package com.foreknow.service;

import com.foreknow.dao.Impl.UserDAOImpl;
import com.foreknow.dao.UserDAO;
import com.foreknow.model.User;

public class UserService {
  private UserDAO userDAO;

  public void setUserDAO(UserDAO userDAO) {
    this.userDAO = userDAO;
  }

  public void add(User user){
    userDAO.save(user);
  }

}
